# Revoke a session

Expires a specific session by its session key, making it inactive but retaining the record. The session token is removed from Redis. Cannot revoke the current session - use logout instead. Requires authentication.

Endpoint: PUT /api/v1/sessions/revoke/{sessionKey}
Version: 1.0
Security: header

## Path parameters:

  - `sessionKey` (string, required)
    Session key of the session to revoke

## Response 400 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation

## Response 401 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation


